(Al-Muaminoon) 23 : 27
فَأَوْحَيْنَا إِلَيْهِ أَنِ اصْنَعِ الْفُلْكَ بِأَعْيُنِنَا وَوَحْيِنَا فَإِذَا جَاءَ أَمْرُنَا وَفَارَ التَّنُّورُ ۙ فَاسْلُكْ فِيهَا مِنْ كُلٍّ زَوْجَيْنِ اثْنَيْنِ وَأَهْلَكَ إِلَّا مَنْ سَبَقَ عَلَيْهِ الْقَوْلُ مِنْهُمْ ۖ وَلَا تُخَاطِبْنِي فِي الَّذِينَ ظَلَمُوا ۖ إِنَّهُمْ مُغْرَقُونَ
So We inspired Noah to construct the ark under Our observation and Our inspiration, and when Our Command came and the stream gushes forth from the stove, you Load upon the ark two pairs of each creature and your family, except upon whom the word is preceded, you don't address to Me concerning those who have wronged; indeed they are to be drowned”.
See explanation 11: 37-40 and 45-47.